/**
  @file BasicXYchartGUI.h
  @author Maciej Siczek
*/

#ifndef BASICXYCHARTGUI_H
#define BASICXYCHARTGUI_H

#include <QDialog>
#include <QColorDialog>
#include "ui_BasicXYchartGUI.h"

namespace LightChart
{
    class BasicXYchartGUI : public QDialog, protected Ui_BasicXYchartGUI
    {
	Q_OBJECT
	public:
	BasicXYchartGUI(QWidget* parent);
	const QColor& get_color() const { return color; }
	private slots:
	void onButtonBgColorClicked();
	void onButtonLineColorsClicked();
	void onButtonCancelClicked();
	void onButtonSaveClicked();
	private:
	void setupConnections();
	QColor color;
	signals:
	void refreshCharts();
    };
}

#endif // BASICXYCHARTGUI_H